<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Over The Air (OTA) Bootloader Abstraction Library: ustar_header_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="infineon_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Over The Air (OTA) Bootloader Abstraction Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Home</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)"
               onblur="searchBox.OnSearchFieldFocus(false)"
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structustar__header__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">ustar_header_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>Structure defined by IEEE for start of each file within the archive. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ac17cf92e0b804a003eee900e2321bc6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac17cf92e0b804a003eee900e2321bc6a"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#ac17cf92e0b804a003eee900e2321bc6a">name</a> [TNAMELEN]</td></tr>
<tr class="memdesc:ac17cf92e0b804a003eee900e2321bc6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 0x00 100 File name (NUL terminated) <br /></td></tr>
<tr class="separator:ac17cf92e0b804a003eee900e2321bc6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746c05cc5a8b6d2c3a32b047b339b5e4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a746c05cc5a8b6d2c3a32b047b339b5e4">mode</a> [8]</td></tr>
<tr class="memdesc:a746c05cc5a8b6d2c3a32b047b339b5e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">100 0x64 8 See mode bits above.  <a href="#a746c05cc5a8b6d2c3a32b047b339b5e4">More...</a><br /></td></tr>
<tr class="separator:a746c05cc5a8b6d2c3a32b047b339b5e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3">uid</a> [8]</td></tr>
<tr class="memdesc:ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">108 0x6c 8 User ID.  <a href="#ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3">More...</a><br /></td></tr>
<tr class="separator:ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7204b3906dbe365727577672681d49a7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a7204b3906dbe365727577672681d49a7">gid</a> [8]</td></tr>
<tr class="memdesc:a7204b3906dbe365727577672681d49a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">116 0x74 8 Group ID.  <a href="#a7204b3906dbe365727577672681d49a7">More...</a><br /></td></tr>
<tr class="separator:a7204b3906dbe365727577672681d49a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58aba9d733b71d336d77a479499bb12c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a58aba9d733b71d336d77a479499bb12c">size</a> [12]</td></tr>
<tr class="memdesc:a58aba9d733b71d336d77a479499bb12c"><td class="mdescLeft">&#160;</td><td class="mdescRight">124 0x7c 12 File size.  <a href="#a58aba9d733b71d336d77a479499bb12c">More...</a><br /></td></tr>
<tr class="separator:a58aba9d733b71d336d77a479499bb12c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864536a60b77e8f2c02a069fec5eb5bb"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a864536a60b77e8f2c02a069fec5eb5bb">mtime</a> [12]</td></tr>
<tr class="memdesc:a864536a60b77e8f2c02a069fec5eb5bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">136 0x88 12 Modified time.  <a href="#a864536a60b77e8f2c02a069fec5eb5bb">More...</a><br /></td></tr>
<tr class="separator:a864536a60b77e8f2c02a069fec5eb5bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12406bfa1ee66e4d884bb142274d0618"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a12406bfa1ee66e4d884bb142274d0618">chksum</a> [8]</td></tr>
<tr class="memdesc:a12406bfa1ee66e4d884bb142274d0618"><td class="mdescLeft">&#160;</td><td class="mdescRight">148 0x94 8 Checksum.  <a href="#a12406bfa1ee66e4d884bb142274d0618">More...</a><br /></td></tr>
<tr class="separator:a12406bfa1ee66e4d884bb142274d0618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afec77696bbb04d88e95dbc52e531482d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#afec77696bbb04d88e95dbc52e531482d">typeflag</a></td></tr>
<tr class="memdesc:afec77696bbb04d88e95dbc52e531482d"><td class="mdescLeft">&#160;</td><td class="mdescRight">156 0x9c 1 Type (see above).  <a href="#afec77696bbb04d88e95dbc52e531482d">More...</a><br /></td></tr>
<tr class="separator:afec77696bbb04d88e95dbc52e531482d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af040f7b9edb6b2a7b36331baac3b0b29"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#af040f7b9edb6b2a7b36331baac3b0b29">linkname</a> [TNAMELEN]</td></tr>
<tr class="memdesc:af040f7b9edb6b2a7b36331baac3b0b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">157 0x9d 100 Linked file name.  <a href="#af040f7b9edb6b2a7b36331baac3b0b29">More...</a><br /></td></tr>
<tr class="separator:af040f7b9edb6b2a7b36331baac3b0b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d5c6b8de6f7d54ca09eec05bd687e57"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a8d5c6b8de6f7d54ca09eec05bd687e57">magic</a> [TMAGLEN]</td></tr>
<tr class="memdesc:a8d5c6b8de6f7d54ca09eec05bd687e57"><td class="mdescLeft">&#160;</td><td class="mdescRight">257 0x101 6 TMAGIC (NUL terminated).  <a href="#a8d5c6b8de6f7d54ca09eec05bd687e57">More...</a><br /></td></tr>
<tr class="separator:a8d5c6b8de6f7d54ca09eec05bd687e57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a221e6c066702728c67bd6f60b54f255d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a221e6c066702728c67bd6f60b54f255d">version</a> [TVERSLEN]</td></tr>
<tr class="memdesc:a221e6c066702728c67bd6f60b54f255d"><td class="mdescLeft">&#160;</td><td class="mdescRight">263 0x107 2 TVERSION.  <a href="#a221e6c066702728c67bd6f60b54f255d">More...</a><br /></td></tr>
<tr class="separator:a221e6c066702728c67bd6f60b54f255d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e43cc7b591833fbb654d05a9138a8d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a45e43cc7b591833fbb654d05a9138a8d">uname</a> [32]</td></tr>
<tr class="memdesc:a45e43cc7b591833fbb654d05a9138a8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">265 0x109 32 user name.  <a href="#a45e43cc7b591833fbb654d05a9138a8d">More...</a><br /></td></tr>
<tr class="separator:a45e43cc7b591833fbb654d05a9138a8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f843657c6f316bde2d3a93487dbc00d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a3f843657c6f316bde2d3a93487dbc00d">gname</a> [32]</td></tr>
<tr class="memdesc:a3f843657c6f316bde2d3a93487dbc00d"><td class="mdescLeft">&#160;</td><td class="mdescRight">297 0x129 32 Group name.  <a href="#a3f843657c6f316bde2d3a93487dbc00d">More...</a><br /></td></tr>
<tr class="separator:a3f843657c6f316bde2d3a93487dbc00d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42fe83915f1911cea4a0231ef7c69658"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a42fe83915f1911cea4a0231ef7c69658">devmajor</a> [8]</td></tr>
<tr class="memdesc:a42fe83915f1911cea4a0231ef7c69658"><td class="mdescLeft">&#160;</td><td class="mdescRight">329 0x149 8 Major.  <a href="#a42fe83915f1911cea4a0231ef7c69658">More...</a><br /></td></tr>
<tr class="separator:a42fe83915f1911cea4a0231ef7c69658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13f59a9d8eace697cf52e101adb803e8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a13f59a9d8eace697cf52e101adb803e8">devminor</a> [8]</td></tr>
<tr class="memdesc:a13f59a9d8eace697cf52e101adb803e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">337 0x151 8 Minor.  <a href="#a13f59a9d8eace697cf52e101adb803e8">More...</a><br /></td></tr>
<tr class="separator:a13f59a9d8eace697cf52e101adb803e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98499864c2abd68676cebcbd59e3b7c1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structustar__header__t.html#a98499864c2abd68676cebcbd59e3b7c1">prefix</a> [155]</td></tr>
<tr class="memdesc:a98499864c2abd68676cebcbd59e3b7c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">345 0x159 155 Prefix.  <a href="#a98499864c2abd68676cebcbd59e3b7c1">More...</a><br /></td></tr>
<tr class="separator:a98499864c2abd68676cebcbd59e3b7c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a746c05cc5a8b6d2c3a32b047b339b5e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::mode[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>100 0x64 8 See mode bits above. </p>

</div>
</div>
<a class="anchor" id="ae4a4fd8cc9dd8bb5c4a6339f3f7ff0c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::uid[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>108 0x6c 8 User ID. </p>

</div>
</div>
<a class="anchor" id="a7204b3906dbe365727577672681d49a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::gid[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>116 0x74 8 Group ID. </p>

</div>
</div>
<a class="anchor" id="a58aba9d733b71d336d77a479499bb12c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::size[12]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>124 0x7c 12 File size. </p>

</div>
</div>
<a class="anchor" id="a864536a60b77e8f2c02a069fec5eb5bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::mtime[12]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>136 0x88 12 Modified time. </p>

</div>
</div>
<a class="anchor" id="a12406bfa1ee66e4d884bb142274d0618"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::chksum[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>148 0x94 8 Checksum. </p>

</div>
</div>
<a class="anchor" id="afec77696bbb04d88e95dbc52e531482d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::typeflag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>156 0x9c 1 Type (see above). </p>

</div>
</div>
<a class="anchor" id="af040f7b9edb6b2a7b36331baac3b0b29"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::linkname[TNAMELEN]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>157 0x9d 100 Linked file name. </p>

</div>
</div>
<a class="anchor" id="a8d5c6b8de6f7d54ca09eec05bd687e57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::magic[TMAGLEN]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>257 0x101 6 TMAGIC (NUL terminated). </p>

</div>
</div>
<a class="anchor" id="a221e6c066702728c67bd6f60b54f255d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::version[TVERSLEN]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>263 0x107 2 TVERSION. </p>

</div>
</div>
<a class="anchor" id="a45e43cc7b591833fbb654d05a9138a8d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::uname[32]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>265 0x109 32 user name. </p>

</div>
</div>
<a class="anchor" id="a3f843657c6f316bde2d3a93487dbc00d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::gname[32]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>297 0x129 32 Group name. </p>

</div>
</div>
<a class="anchor" id="a42fe83915f1911cea4a0231ef7c69658"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::devmajor[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>329 0x149 8 Major. </p>

</div>
</div>
<a class="anchor" id="a13f59a9d8eace697cf52e101adb803e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::devminor[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>337 0x151 8 Minor. </p>

</div>
</div>
<a class="anchor" id="a98499864c2abd68676cebcbd59e3b7c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ustar_header_t::prefix[155]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>345 0x159 155 Prefix. </p>
<p>500 0x1f4 12 Padding implied to the end of the 512-byte block. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Over The Air (OTA) Bootloader Abstraction Library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
